<%@ attribute name="doScript" required="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set value="${!empty doScript ? doScript : false}" var="doScript" />
<c:if test="doScript" >
	<script type="text/javascript">
		alert("won't happen");
	</script>
</c:if>
template text
<div>bob</div>